const express = require('express');
var router = express.Router();
const cartCtrl = require('../controllers/cart.server.controller');

router.route('/cart')
    .get(cartCtrl.loadCart)//获取购物车对象
    .put(cartCtrl.updateCart);//整个更改购物车对象

module.exports = router;